﻿@model IList<Qu.SeniorProject.Model.ProjectSummary>

@{
    ViewBag.Title = "List of Senior Projects";
}

 @{        
    
    var grid = new WebGrid(source: Model,
                 defaultSort: "ProjectID");
 }
 <p>
 <h2>Fall 2010 Projects</h2>
 <div id="grid">
     @grid.GetHtml(
         tableStyle: "grid",
         headerStyle: "head",
         alternatingRowStyle: "alt",
                      columns: grid.Columns(
                      grid.Column("ProjectID"),
                      grid.Column("ProjectYear"),
                      grid.Column("ProjectTitle"),
                      grid.Column("Students"),
                      grid.Column("Major"),
                      grid.Column("Gender"),
                      grid.Column("Supervisors"),
                      grid.Column("ProposalExaminer")))


</div>

<br />
<div>
    @Html.ActionLink("Back to Home", "Index")
</div>